<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="order/doedit">

    <input id="c-order_id"   data-rule="required" class="form-control" name="row[id]" type="hidden" value="{$row.id}">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_numbe')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_numbe" disabled data-rule="required" class="form-control" name="row[order_number]" type="text" value="{$row.order_number|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" disabled data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('hotelname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hotelname" disabled data-rule="required" class="form-control" name="row[hotelname]" type="text" value="{$row.hotelname|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">入住姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input  disabled data-rule="required" class="form-control" name="row[order_name]" type="text" value="{$row.order_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">联系方式:</label>
        <div class="col-xs-12 col-sm-8">
            <input  disabled data-rule="required" class="form-control" name="row[order_phone]" type="text" value="{$row.order_phone|htmlentities}">
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" disabled class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">收入:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-income" data-rule="required" disabled class="form-control" step="0.01" name="row[income]" type="number" value="{$row.income|htmlentities}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_time" data-rule="required" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:$row.add_time?datetime($row.add_time):''}">
        </div>
    </div>




    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_time" data-rule="required" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('payend_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payend_time" data-rule="required" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[payend_time]" type="text" value="{:$row.payend_time?datetime($row.payend_time):''}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select disabled  id="c-paystatus" class="form-control selectpicker" name="row[pay_status]">
                {foreach name="payStatusList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.pay_status"} selected {/in} >{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('payend_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payend_time" data-rule="required" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[payend_time]" type="text" value="{:$row.payend_time?datetime($row.payend_time):''}">
        </div>
    </div>



</form>


